package com.buddy.sds.auth.oauth2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_system_oauth_token")
public class SystemOauthToken {

    @TableId(type = IdType.UUID)
    private String tokenId;
    private LocalDateTime tokenCreatetime;
    private long tokenExpireTime;
    private String tokenRefreshToken;
    private String tokenToken;
    private String tokenUser;
    private String tokenClient;
    private long tokenRefreshExpireTime;


}
